package cn.unknowpupil.init.common.enums;

/**
 * 操作状态
 * 
 * @author unknowpupil
 *
 */
public enum BusinessStatus
{
    /**
     * 成功
     */
    SUCCESS("0", "success"),

    /**
     * 失败
     */
    FAILURE("1", "failure");
    private String code;
    private String interpret;
    BusinessStatus(String code, String interpret) {
        this.code = code;
        this.interpret = interpret;
    }
    public String code() {
        return code;
    }

    public String interpret() {
        return interpret;
    }
}
